package com.yunxi.service.localService.dealer;

import com.github.pagehelper.PageInfo;
import com.yunxi.core.service.IServicePlus;
import com.yunxi.dealer.pojo.AreaManagerVO;
import com.yunxi.model.dealer.AreaManager;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 
 * @since 2019-07-23
 */
public interface AreaManagerService extends IServicePlus<AreaManager> {

   void delByUserCode(String userCode);

   String getBigRegionCodeByCityManagerUserCode(String fellowId);

   PageInfo<AreaManagerVO> pageByUserCode(AreaManagerVO areaManagerVO, Integer pageNum, Integer pageSize);

   List<AreaManagerVO> listByUserCode(AreaManagerVO areaManagerVO);

   List<String> getAreaManagerUserCodeByCityManagerUserCode(String fellowId);

   PageInfo<AreaManagerVO> pageCityNotExisit(AreaManagerVO areaManagerVO, Integer pageNum, Integer pageSize);
}
